<%--
  Created by IntelliJ IDEA.
  User: 73786
  Date: 2021/4/7
  Time: 20:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录</title>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
    <div style="width: 500px;height: 300px; margin-left: 600px; margin-top: 300px">
        <form action="${pageContext.request.contextPath}/user/loginUser" method="post">
            <div class="form-group">
                <h1>登录</h1>
            </div>
            <div class="form-group">
                <label>账号：</label>
                <input type="text" name="uname" class="form-control" required />
            </div>
            <div class="form-group">
                <label>密码：</label>
                <input type="password" name="pwd" class="form-control" required />
            </div>
<%--            <div class="form-group">--%>
<%--                <label>管理员：</label>--%>
<%--                <input type="text" name="admi" class="form-control" placeholder="管理员为1，普通用户为0" required />--%>
<%--            </div>--%>
            <div style="width: 100px;">
                <div class="form-group">
                    <span>${msg}</span>
                    <input type="submit" class="form-control" value="登录">
                </div>
            </div>

        </form>
    </div>

</body>
</html>
